using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class GetQuantityDecimalRequest : OrganizationRequest
	{
		public EntityReference Target
		{
			get
			{
				if (base.Parameters.Contains("Target"))
				{
					return (EntityReference)base.Parameters["Target"];
				}
				return null;
			}
			set
			{
				base.Parameters["Target"] = value;
			}
		}
		public Guid ProductId
		{
			get
			{
				if (base.Parameters.Contains("ProductId"))
				{
					return (Guid)base.Parameters["ProductId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ProductId"] = value;
			}
		}
		public Guid UoMId
		{
			get
			{
				if (base.Parameters.Contains("UoMId"))
				{
					return (Guid)base.Parameters["UoMId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["UoMId"] = value;
			}
		}
		public GetQuantityDecimalRequest()
		{
			base.RequestName = "GetQuantityDecimal";
			this.Target = null;
			this.ProductId = default(Guid);
			this.UoMId = default(Guid);
		}
	}
}
